package com.atguigu.exer;

/**
 * @author azzn1400820029
 * @create 2021-12-12 19:31
 */
public class Person {

    String name;
    int age;
    /**
     * 1 男 0 女
     */
    int sex;

    public void study() {
        System.out.println("studying");
    }

    public void showAge() {
        System.out.println("age:" + age);
    }

    public int addAge(int i) {
        age += i;
        return age;
    }
}
